package interfaces;

public class HorrorShow {

	public HorrorShow() {
		// TODO 自动生成的构造函数存根
	}
	static void u(Monster b) {
		b.meance();
	}
	static void v(DangerousMonster d) {
		d.meance();
		d.destory();
	}
	static void w(Lethal l) {
		l.kill();
	}
	public static void main(String[] args) {
		DangerousMonster barney = new DragonZilla();
		u(barney);
		v(barney);
		Vampire vlad = new VeryBadVampire();
		u(vlad);
		v(vlad);
		w(vlad);
	}

}
